package com.wondertek.service.sdk.iotdh.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class AetAreaInfoReq {
    //设备id 必填
    @NotBlank
    @Schema(name = "deviceId",description = "设备id 由1-128位数字与字⺟组成")
    private String deviceId;
    //区域id  必填
    @NotNull
    @Schema(name = "areaId",description = "区域id  必填")
    private Integer areaId;

    @Schema(name = "areaName",description = "区域名称")
    private String areaName;
    @Schema(name = "areaEnable",description = "启用该区域。如果为 null，则配置保持不变。false 假")
    private boolean areaEnable;
    @Schema(name = "accessoryIds",description = "配件 ID 列表。如果为 null，则配置保持不变。")
    private List<String> accessoryIds;
}
